package Form;

import java.awt.Image;

public class Shop_Customization_PictureSettings {
	
	Image design;
	int startX, startY, width, height;
	
	//For customizations, start from middle
	public Shop_Customization_PictureSettings(Image design, int canvasWidth, int canvasHeight){
		
		this.design = design;
		startX = (canvasWidth - design.getWidth(null) - 1 - 100) / 2;
		startY = (canvasHeight - design.getHeight(null) - 1 - 100) / 2;
		width = 100;
		height = 100;
		
	}
	
	//For moved customizations
	public Shop_Customization_PictureSettings(){
	}
	
	//For default images
	public Shop_Customization_PictureSettings(Image design, int startX, int startY, int canvasWidth, int canvasHeight){
		
		this.design = design;
		this.startX = startX;
		this.startY = startY;
		this.width = canvasWidth;
		this.height = canvasHeight;
		
	}

	public Image getDesign() {
		return design;
	}

	public void setDesign(Image design) {
		this.design = design;
	}

	public int getStartX() {
		return startX;
	}

	public void setStartX(int startX) {
		this.startX = startX;
	}

	public int getStartY() {
		return startY;
	}

	public void setStartY(int startY) {
		this.startY = startY;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

}
